﻿using System.Collections.Generic;
using Sebrae.Academico.Trilhas.BM.Classes;
using Sebrae.Academico.Trilhas.BP;
using Sebrae.Academico.Trilhas.Dominio.Classes;

namespace Sebra.Academico.Trilhas.BP
{
    public class ManterStatusMatricula : BusinessProcessBase
    {

        private BMStatusMatricula statusMatricula = null;

        public ManterStatusMatricula()
            : base()
        {
            statusMatricula = new BMStatusMatricula(unitOfWork);
        }
              
        public StatusMatricula ObterStatusMatriculaPorID(int pId)
        {
            return statusMatricula.ObterPorId(pId);
        }

        public IList<StatusMatricula> ObterTodosStatusMatricula()
        {
            return statusMatricula.ObteTodos();
        }

      
    }
}
